<?php 
//Remote Control Central setting
//define("APPCLOUD_CONTROL_SERVER",'http://local.openbiz.me');
//define("SERVER_IP",				'192.168.1.161');
//define("SERVER_CODE",			'KittyHawk');
define("APPCLOUD_CONTROL_SERVER",'http://192.168.0.100');
define("SERVER_IP",				'192.168.0.114');
define("SERVER_CODE",			'Hellas');
define("SERVER_REQUEST_KEY",	'14fed1fbe55b9ff7d3a4f0639ececfcd');
define("SERVER_RESPONSE_KEY",	'd30cded46af3c9f16a72bc93f6e776e7');

//Local environment setting
//apache setting 
define("APACHE_CONFIG_PATH",	'/etc/apache2/sites-available');
define("APACHE_CONTROL_CMD",	'/usr/sbin/apachectl');
define("APACHE_EN_SITE_CMD",	'/usr/sbin/a2ensite');
define("APACHE_DIS_SITE_CMD",	'/usr/sbin/a2dissite');

//mysql setting
define("MYSQL_HOST",			'localhost');
define("MYSQL_USER",			'root');
define("MYSQL_PASSWORD",		'password');
define("MYSQL_CMD",				'/usr/bin/mysql');
define("MYSQLDUMP_CMD",			'/usr/bin/mysqldump');
define("MYSQL_DATDIR",			'/var/lib/mysql');
define("MYSQL_DBNAME_PREFIX",	'udb_');

//path setting
define("WEB_ROOT_PATH",			'/var/www');
define("BACKUP_ROOT_PATH",		'/var/backups/appclouds');
define("AGENT_ROOT_PATH",		dirname(__FILE__));
define("WWW_FOLDER",			'httpdocs');
define("LOG_FOLDER",			'logs');

//default user file permission setting
define("FILE_PERM_ON_WORK",		'0777');
define("FILE_PERM_ON_SUSPEND",	'0000');
define("FILE_OWNER",			'www-data');
define("FILE_GROUP",			'www-data');
define("CP_CMD",				'/bin/cp');
define("RM_CMD",				'/bin/rm');
define("CHMOD_CMD",				'/bin/chmod');
define("CHOWN_CMD",				'/bin/chown');
define("TAR_CMD",				'/bin/tar');
define("DU_CMD",				'/usr/bin/du');

//appcloud info
define("APPCLOUD_REPOS",		dirname(__FILE__).'/repos/appcloud');
define("SVN_CMD",				'/usr/bin/svn');

//setup autoload function
require_once dirname(__FILE__).'/lib/function/autoload.php';
?>